package ontology.models.contract;

import java.util.Set;

import ontology.concepts.vo.VONorm;


public class Violation extends AbstractSituation{
	
	private Set<String> affectedParts;
	private VONorm norm;
	private Obligation violation;

	public Set<String> getAffectedParts() {
		return affectedParts;
	}

	public void setAffectedParts(Set<String> affectedParts) {
		this.affectedParts = affectedParts;
	}
	
	public VONorm getNorm() {
		return norm;
	}

	public void setNorm(VONorm norm) {
		this.norm = norm;
	}

	public Obligation getViolation() {
		return violation;
	}

	public void setViolation(Obligation violation) {
		this.violation = violation;
	}

	@Override
	public String toString(){
		return super.toString()+": violated";
	}
}
